

package com.hazelcast.internal.config;

import com.hazelcast.config.MerkleTreeConfig;

public class MerkleTreeConfigReadOnly extends MerkleTreeConfig {
    public MerkleTreeConfigReadOnly(MerkleTreeConfig config) {
        super(config);
    }

    @Override
    public MerkleTreeConfig setDepth(int depth) {
        throw new UnsupportedOperationException("This config is read-only");
    }

    @Override
    public MerkleTreeConfig setEnabled(boolean enabled) {
        throw new UnsupportedOperationException("This config is read-only");
    }
}
